xenstore: set implicit path for socket connections
authorIan Campbell <ian.campbell@citrix.com>
Thu, 16 Dec 2010 18:04:08 +0000 (18:04 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 16 Dec 2010 18:04:08 +0000 (18:04 +0000)
commitcacf9acf525a76c5d2f2d0acd3915fff3d54939a
tree7220a2203de0d3b8d003a3d3c5be83f58147ed29
parente40c1e449e1aa3e1ab8779b83371198e6e2275c2
xenstore: set implicit path for socket connections

For now assume all such connections come from domain 0.

Failure to do this breaks various scripts which assume that they
operate relative to the domains "home directory".

This matches the behaviour of the ocaml xenstored.

Thanks to report from Olaf Hering.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xenstore/xenstored_domain.c